package com.itheima.sc.api.sms;

import com.itheima.sc.pojo.sms.CouponProductRelation;

import java.util.List;

public interface SmsCouponProductRelationApi {

    //添加产品关系表
    void addProductRelation(List<CouponProductRelation> productRelations);
    //删除茶品关系表中的数据
    void deleteProductRelationByCouponId(Long id);

   // void updateProductRelation(List<CouponProductRelation> productRelations);
    //查询茶品关系表中的数据
    List<CouponProductRelation> selectProductRelationByCouponId(Long id);
    //删除优惠券和产品的关系表
   // void deleteProductRelation(List<CouponProductRelation> productRelations);
}
